package a.j;

import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.geom.GeneralPath;

public class p
  extends n
  implements md.l_
{
  private final GeneralPath f;
  public static int g;
  
  public p(GeneralPath paramGeneralPath)
  {
    this.f = paramGeneralPath;
  }
  
  protected void a(ld paramld, Graphics2D paramGraphics2D, boolean paramBoolean)
  {
    AffineTransform localAffineTransform = new AffineTransform();
    localAffineTransform.translate(paramld.a(), paramld.b());
    localAffineTransform.scale(paramld.c(), paramld.d());
    Shape localShape;
    synchronized (this.f)
    {
      localShape = this.f.createTransformedShape(localAffineTransform);
    }
    if (!ld.E) {
      if (g(paramld, paramGraphics2D)) {
        paramGraphics2D.fill(localShape);
      }
    }
    if (f(paramld, paramGraphics2D)) {
      paramGraphics2D.draw(localShape);
    }
  }
  
  protected Color d(ld paramld, boolean paramBoolean)
  {
    return super.d(paramld, false);
  }
  
  public boolean a(ld paramld, double paramDouble1, double paramDouble2)
  {
    return this.f.contains((paramDouble1 - paramld.a()) / paramld.c(), (paramDouble2 - paramld.b()) / paramld.d());
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.p

 * JD-Core Version:    0.7.0.1

 */